import uuid


def uuid_method():
    return str(uuid.uuid1())


def uuid_random_number(number=1):
    return str(uuid.uuid4())


def split_token(strs):
    f = str(strs)
    # f1 = f.split(@)[0]
    return f[:11]


def test1(num):
    if isinstance(num, str):
        return format(float(num) / 100, '.2f')
    else:
        return round(num / 100, 2)


def test2(num):
    if isinstance(num, str):
        return int(num) + 1
    else:
        return num + 1


def checkGuideInfo(info=None):
    if info:
        raise ValueError("当前值不能存在")
